package org.itboys.store.dto;

import org.itboys.dto.ProductDetail;
import org.itboys.store.entity.ProductStorage;
import org.itboys.store.entity.ReceiveAddress;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by huml on 2016/5/18.
 * 确认订单数据结构实体
 */
public class ConfirmOrderDto {

    private ReceiveAddress receiveAddress;//收货地址
    private List<ConfirmProductDto> products;//产品信息
    private int num;//商品总数
    private BigDecimal price;//总售价
    private Integer type;

    public ReceiveAddress getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(ReceiveAddress receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    public List<ConfirmProductDto> getProducts() {
        return products;
    }

    public void setProducts(List<ConfirmProductDto> products) {
        this.products = products;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
